package cn.itcast.user.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * TODO
 *  nacos配置热更新方式二
 *  nacos环境配置优先级
 *  服务名-环境.yml > 服务名.yml > 本地yml
 * @Author mr.Css
 * @Date 2025-01-03 10:03
 */
@ConfigurationProperties(prefix = "pattern")
@Component
@Data
public class UserServiceProperties {
    private String dateformat;
    private String envSharedValue;
    private String name;
}
